Skip to content

Conversation

davner
Copy link
Member

@davner davner commented Oct 14, 2025

  • Refactor form field IDs and names for consistency across the application.

Checklist

  • Added a release note in doc/changes using the PR number.

- Refactor form field IDs and names for consistency across the application.
@davner davner self-assigned this Oct 14, 2025
@davner davner requested a review from Copilot October 14, 2025 23:13
Copy link

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

Refactors form field IDs and names for consistency across the GPP application and adds ToO (Target of Opportunity) observation submission functionality with enhanced form data handling.

  • Standardized form element IDs and names to follow consistent naming conventions
  • Added ToO observation creation and submission capability with error handling and toast notifications
  • Enhanced form data extraction methods and improved input field configurations

Reviewed Changes

Copilot reviewed 8 out of 8 changed files in this pull request and generated 3 comments.

Show a summary per file
File Description
source_profile_editor.js Updated form field IDs to use more descriptive names like sedProfileTypeSelect and sedTypeSelect
program_observations_panel.js Added JSDoc documentation for select toggle methods
observation_form.js Enhanced form controls with consistent naming, decimal support for number inputs, and new getData() method
gpp.js Added ToO observation creation functionality with proper error handling and toast notifications
fields.js Refactored select options to use value/labelText objects instead of plain strings
exposure_mode_editor.js Added name attributes to form elements for consistency
elevation_range_editor.js Added name attributes to form elements for consistency
brightnesses_editor.js Simplified ID generation and updated select creation method signature

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@davner davner merged commit 3a01d7d into main Oct 14, 2025
2 checks passed
@davner davner deleted the GOATS-945/send-form-data branch October 14, 2025 23:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant